package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.CustomerCancelReasonOptionCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 乘客取消原因短语表
 * </p>
 *
 * @author Dell
 * @since 2021-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CustomerCancelReasonOption对象", description = "乘客取消原因短语表")
public class CustomerCancelReasonOption implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "取消原因的类型 0:system[系统原因],1:driver[司机原因],2:customer[乘客自身原因],3:other[其他原因]")
    private CustomerCancelReasonOptionCategory category;

    @ApiModelProperty(value = "取消的原因")
    private String reason;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
